﻿//using System;
//using mvcForum.Core.Interfaces.Data;
//using System.Linq.Expressions;

//namespace mvcForum.Core.Specifications {

//    public static class ForumUserSettingsSpecifications {

//        public class SpecificUser : ISpecification<ForumUserSettings> {
//            private readonly ForumUser user;

//            public SpecificUser(ForumUser user) {
//                this.user = user;
//            }

//            public Expression<Func<ForumUserSettings, Boolean>> IsSatisfied {
//                get {
//                    return x => x.User.Id == user.Id;
//                }
//            }
//        }
//    }
//}